/**
 * 判断对象的值是不是全为空
 */
exports.objectValueAllEmpty = function(object){
  let isEmpty = false;
  // 检查传入的obj是否是空对象
  if(Object.values(object).length<1){
    return true;
  }
  Object.keys(object).forEach(function(x) {
    if(object[x] === null || object[x] === '' || object[x] === undefined){
      isEmpty = true;
    }
  });
  return isEmpty;
}
